package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 *
 */
@Data
public class SysLog {
    private String id;
    @JsonFormat(
            shape = JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    // 在 SysLog 实体类中
    private LocalDateTime logTime; // 替代 Date
    private String log;
    private String ip;
    private String username;
    private String method;
    private String type;
}
